package com.xiaopengpeng.api;

import java.util.List;

import org.apache.hadoop.hbase.client.Scan;

public interface HbaseOperations{
	<T> T execute(String table,TableCallback<T> mapper);
	
	<T> List<T> find(String tableName,String family, RowMapper<T> mapper);
	
	<T> List<T> find(String tableName, String family, String qualifier, final RowMapper<T> mapper);
	
	<T> List<T> find(String tableName, final Scan scan, final RowMapper<T> mapper);
}
